<%--

<!------------------------------------------------------------------------------
 - Copyright 2006 CORE Solutions Limited
 - All rights reserved.
 - PROPRIETARY AND CONFIDENTIAL INFORMATION.
 - Use is subject to license terms.
 -
 - FUNCTION ID      :   ACCESS_RIGHT
 - AUTHOR           :   Victor Zheng 
 - DATE CREATE      :   2006/02/01
 - DESCRIPTION      :   a HEADER TAB JSP file for the function, ACCESS_RIGHT
 -                  :   
 -                  :   
 -                  :   
 -
 - MODIFICATION HISTORY:
 - DATE         AUTHOR          VERSION NO.         COMMENT
 - -----------  --------------  ------------------  -------------------
 - 2006/02/01   Victor Zheng    1.0                 source is generated.
 - 2006/06/22   William Xu      1.0                 BugZilla #6277
 -
 -
------------------------------------------------------------------------------->

--%>
<%@ include file="/jsp/com/erp/app/common/jsp/directives_include.jsp"%>

<%@ page import="com.erp.app.admin.accessRight.vo.AccessRightHdrVo"%>
<%@ page import="com.erp.app.admin.accessRight.web.AccessRightMaintenanceAction"%>
<%@ page import="com.erp.app.admin.accessRight.web.AccessRightMaintenanceForm"%>

<%@ include file="/jsp/com/erp/app/common/jsp/html_include.jsp"%>

<jsp:useBean id="accessRightMaintenanceForm" scope="session" type="com.erp.app.admin.accessRight.web.AccessRightMaintenanceForm" />

<!-- MUST use the following example to mark fields as mandatory field inputs-->
<!--
<td class="grid_header" nowrap><span class="mandatory_label">
<bean:message key="label.general.mandatory.field"/>
...</span></td>
-->
<%
formReadOnly = false;
TableSchema ts = accessRightMaintenanceForm.getTs();
%>

<table class="table_short_header">

	<tr>
		<td class="col_label">
			<html:text useExtensions="true" uiType="label" name="accessRightMaintenanceForm" property="userGroupCode" />
		</td>
		<td class="col_value" nowrap>
			<logic:equal name="accessRightMaintenanceForm" property="pageMode" value="<%=accessRightMaintenanceForm.PAGE_MODE_CREATE%>">
				<html:text property="userGroupCode" styleClass="textbox1" readonly="<%=formReadOnly%>" maxlength="<%=colSize%>" size="<%=displaySize%>" value="<%=CommonUtil.nullToString(accessRightMaintenanceForm.getUserGroupCode())%>"/>
			</logic:equal>
			<logic:notEqual name="accessRightMaintenanceForm" property="pageMode" value="<%=accessRightMaintenanceForm.PAGE_MODE_CREATE%>">
				<bean:write name="accessRightMaintenanceForm" property="userGroupCode" filter="true"/>
			</logic:notEqual>
		</td>
		<td class="col_label">
			<html:text useExtensions="true" uiType="label" name="accessRightMaintenanceForm" property="userGroupDesc" />
		</td>
		<td class="col_value" nowrap>
			<html:text useExtensions="true" uiType="textarea" name="accessRightMaintenanceForm" property="userGroupDesc" />		
		</td>
	</tr>
	<tr>
		<td class="col_label">
			<html:text useExtensions="true" uiType="label" name="accessRightMaintenanceForm" property="status" />
		</td>
		<td class="col_value" nowrap>		
			<html:text useExtensions="true" uiType="combobox" name="accessRightMaintenanceForm" property="status" />
		</td>
		<td class="col_label">
			&nbsp;
		</td>
		<td class="col_value" nowrap>	
			&nbsp;
		</td>
	</tr>
	<tr>
		<td class="col_label">
			<html:text useExtensions="true" uiType="label" name="accessRightMaintenanceForm" property="createUser" />
		</td>
		<td class="col_value" nowrap>
			<html:text useExtensions="true" uiType="write" name="accessRightMaintenanceForm" property="createUser"/>
		</td>
		<td class="col_label">
			<html:text useExtensions="true" uiType="label" name="accessRightMaintenanceForm" property="createDate" />
		</td>
		<td class="col_value" nowrap>
			<html:text useExtensions="true" uiType="write" name="accessRightMaintenanceForm" property="createDate"/>
		</td>
	</tr>
	<tr>
		<td class="col_label">
			<html:text useExtensions="true" uiType="label" name="accessRightMaintenanceForm" property="updateUser" />
		</td>
		<td class="col_value" nowrap>
			<html:text useExtensions="true" uiType="write" name="accessRightMaintenanceForm" property="updateUser"/>
		</td>	
		<td class="col_label">
			<html:text useExtensions="true" uiType="label" name="accessRightMaintenanceForm" property="updateDate" />
		</td>
		<td class="col_value" nowrap>
			<html:text useExtensions="true" uiType="write" name="accessRightMaintenanceForm" property="updateDate"/>
		</td>
	</tr>
</table>

